<?php


namespace app\index\validate;


class emailValidate extends basicValidate
{
    protected $rule = [
        'email' => ['regex'=>'/^[0-9a-zA-Z-_!]{2,18}@[\da-zA-z]{1,10}\.(com|cn|net|org|edu|com\.cn|tv)$/'],
    ];
    protected $message = [
         'email.regex'=>'邮箱格式错误',
    ];


}